package com.qkl.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

@Data
@TableName
public class Problem {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String name;
//    @TableField(exist = false) 不参与数据库字段
    @JsonIgnore
    private Integer isDel;
}
